import { Image, View } from '@tarojs/components';
import {
  Home
} from '@nutui/icons-react-taro';
import Taro from '@tarojs/taro';
import './index.less';


interface IProps {
}

export default function Index(props?: IProps) {
  const onTicketClick = () => {
    Taro.navigateTo({ url: '/pages/index/index' });
  };

  return (
    <View className="common-header">
      <View className="common-header-left" onClick={onTicketClick}>
        <Home />
      </View>
    </View>
  );
}
